package com.base.service.impl;

import com.base.mapper.voipmapper.ReplacementRefundMapper;
import com.base.po.replacement.ReplacementRefund;
import com.base.po.replacement.ReplacementRefundExample;
import com.base.service.ReplacementRefundService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Service("replacementRefundService")
public class ReplacementRefundServiceImpl implements ReplacementRefundService {
	
	@Autowired
	private ReplacementRefundMapper replacementRefundMapper;


	@Override
	public int countByExample(ReplacementRefundExample example) {
		return replacementRefundMapper.countByExample(example);
	}

	@Override
	public int deleteByExample(ReplacementRefundExample example) {
		return replacementRefundMapper.deleteByExample(example);
	}

	@Override
	public int deleteByPrimaryKey(String id) {
		return replacementRefundMapper.deleteByPrimaryKey(id);
	}

	@Override
	public int insert(ReplacementRefund record) {
		return replacementRefundMapper.insert(record);
	}

	@Override
	public int insertSelective(ReplacementRefund record) {
		return replacementRefundMapper.insertSelective(record);
	}

	@Override
	public List<ReplacementRefund> selectByExample(ReplacementRefundExample example) {
		return replacementRefundMapper.selectByExample(example);
	}

	@Override
	public ReplacementRefund selectByPrimaryKey(String id) {
		return replacementRefundMapper.selectByPrimaryKey(id);
	}

	@Override
	public ReplacementRefund selectByYptOrderNo(String yptorderno) {
		return replacementRefundMapper.selectByYptOrderNo(yptorderno);
	}

	@Override
	public int updateByExampleSelective(ReplacementRefund record, ReplacementRefundExample example) {
		return replacementRefundMapper.updateByExampleSelective(record, example);
	}

	@Override
	public int updateByExample(ReplacementRefund record, ReplacementRefundExample example) {
		return replacementRefundMapper.updateByExample(record, example);
	}

	@Override
	public int updateByPrimaryKeySelective(ReplacementRefund record) {
		return replacementRefundMapper.updateByPrimaryKeySelective(record);
	}

	@Override
	public int updateByPrimaryKey(ReplacementRefund record) {
		return replacementRefundMapper.updateByPrimaryKey(record);
	}
}
